{
  LW Scenecv -- LightWave Scene Converters

  Scene converters load scene files written in formats other than LightWave®'s native format.

  When the user selects a scene file to load, Layout first tries to load it
  directly as a LightWave® format file. If it can't, it passes the filename to
  each installed scene converter until one of them claims to recognize the file.
  The scene converter reads the file and rewrites it as a LightWave® scene file,
  passing the name of this temporary file back to Layout.
  After loading this file, Layout calls the scene converter's
  deleteTmp function to remove it.

  Based on lwscenecvl.h which is:
  Copyright 1999, NewTek, Inc.
}

{
  Copyright 2012, Jameel Halabi

  This unit is part of the BlaiseWave wrapper,
  which is licensed under the BSD 2-Clause license (see licenses/license.txt).
}

unit LW_Scenecv;

{$mode objfpc}{$H+}

interface

uses
  LW_Types   ,
  LW_Handler ;

const
  LWSCENECONVERTER_CLASS   = 'SceneConverter' ;
  LWSCENECONVERTER_VERSION = 1 ;

type
  PLWSceneConverter = ^TLWSceneConverter ;
  TLWSceneConverter = record
    Filename        :  PChar    ; // const
    ReadFailure     :  PLWError ;
    TmpScene        :  PChar    ; // const
    DeleteTemp      :  procedure
                       (        TempScene : PChar  ) ;
  end;

implementation

end.

